<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix = "fmt" %>
<%@page isELIgnored="false"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
	 <c:forEach items="${sessionScope.booklist }" var="bb" varStatus="a" >
	 	<tr>
	 		<td><h4 style="width: 108px; ">${a.index }</h4></td>
	 	    <td style="width: 210px; "><h3>书名：${bb.bname }</h3></td>
	 	    <td style="width: 216px; "><h3>书本ID：${bb.bid }</h3></td>
	 		<td><img src="image/${bb.bname }.jpg" style="height: 157px; width: 122px; "/> </dr>
	 		<td><a href="addcart?bid=${bb.bid}">购买</a></td>
	 	</tr>
	 </c:forEach>
	 </table>
</body>
</html>